<?php

namespace App\Providers;

use App\Helpers\Hasher\MD5Hasher;
use Illuminate\Http\Resources\Json\Resource;
use Illuminate\Support\ServiceProvider;


class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {

        //
    }

    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {

        // 注册根据表生成迁移文件的扩展包
        if ($this->app->environment() !== 'production') {

            $this->app->register(\Way\Generators\GeneratorsServiceProvider::class);
            $this->app->register(\Xethron\MigrationsGenerator\MigrationsGeneratorServiceProvider::class);
        }


        $this->app->register(\Wowiwj\Flysystem\Qcloud\QcloudStoreProvider::class);



    }


}
